BlueCielo Meridian Global Collaboration Framework 2012 SP1 Administrator's Guide | BlueCielo ECM Solutions

You are here: Integrating custom GCF script with GCF 2012

Integrating custom GCF script with GCF 2012

The following procedure is appropriate if a prior version of the GCF is installed, you have already customized the GCF VBScript code, and you want to integrate your custom code with the GCF 2012 VBScript code. If you have not customized the GCF VBScript code and you want to update the existing code to work with GCF 2012, see Updating custom GCF script to GCF 2012.

To integrate the existing VBScript code of a vault, read what has been changed below and modify your custom script accordingly:

  1. In Meridian Enterprise Configurator, open the vault's event procedures code for editing as described in the BlueCielo Meridian Enterprise VBScript API Reference.
  2. Remove the event handler definitions listed below.
  3. In the standard event handlers, find and remove all calls to the GCF event handlers listed below.

GCFBrc_BeforeInclude

GCFBrcEvent_BeforeImport

GCFBrc_AfterImport

GCFBrc_AfterInclude

GCFBrcEvent_AfterReadProperty

GCFBrcEvent_BeforeWriteProperty

GCFDocGeneric_AfterNewDocument

GCFDocWorkingCopyEvent_AfterSubmitWC

GCFDocWorkingCopyEvent_AfterRevokeWC

GCFDocWorkAreaEvent_AfterRelease

GCFDocWorkAreaEvent_AfterAssign

GCFDocWorkAreaEvent_AfterCancel

GCFDocWorkflowEvent_AfterChangeWFState

GCFDocWorkflowEvent_AfterChangeWFPerson

GCFDocWorkflowEvent_AfterRevokeWF

GCFDocCWFEvent_AfterExecuteTransition

GCFDocCWFEvent_AfterReroute

Note    Only the hybrid event handlers should be left, see step 8.

  1. Remove the function definitions listed below.

OwnershipStatus

InitiateUpdate

GCFSetLastTransferDate

GCFCallRemote

MergeDelimitedStrings

GCFInitiateTransfer

GCFClearTransit

GCFDocumentStatus

GCFDocumentWpID

GCFRequestToSend

GCFRequestToSendEx

GCFRequestOwnership

GCFAddShare

InitGCF

InitGCFExport

InitGCFImport

CheckDocumentChanged

GetOwnerShare

SetShareOnOwnerSite

LogOnInclude

SetModifiedBy

LogOnImport

GCFGetLog

GCFSetLog

GetCurrentWorkAreaName

GetParentWorkAreaName

EnlistAllSites

SetLock

SetLockRemote

ManageChangeTodoPerson

GCFCrossSiteWorkflow

TransferWorkflow

GCFInitTransferToDoPerson

SetNextTodoPerson

  1. The flag bIsGcf is obsolete and should not be used anymore. The new vault argument IsGcf should be used instead. Find the following old code:
If bIsGcf then Exit Sub

And replace it with the following new code:

If Vault.Argument("IsGcf") then Exit Sub

Note    The name of the argument is case-sensitive.

  1. If the following functions have been modified in the custom code, merge them with the new GCF VBScript file <Setup>\Meridian\Configuration\MainScript.bas.

GCFHideCollaborationStatus

DelistVault

SyncWorkflowLog

AutoEnlistAllSites

GCFShowRemoteDeletionConfirmation

GCFAvailableForCollaboration

GetGCFSiteByPerson

  1. If the following event handlers have been modified in the custom code, merge them with the new GCF VBScript file named <Setup>\Meridian\Configuration\MainScript.bas.

GCFDocHybridEvent_AfterHybridPart

GCFDocHybridEvent_BeforeHybridPart

  1. Remove the old GCF code and append the modified MainScript.bas code to the vault's VBScript code.
  2. Click OK to save your changes.

Related concepts

Configuring with VBScript

Related tasks

Updating custom GCF script to GCF 2012

Understanding common conflicts

Suppressing custom code during GCF operations

Controlling the GCF with VBScript

Hiding the Collaboration Status property page

Confirming deletion of documents

Replicating workflow logs


Copyright © 2000-2012 BlueCielo ECM Solutions

www.bluecieloecm.com